package com.service;

import com.domain.Book;
import com.domain.Record;
import com.domain.User;
import entity.PageResult;
import org.apache.ibatis.annotations.Param;

public interface RecordService {
    //根据isbn查记录

    public Record findByIsbn(String isbn);

    //新增记录
    public Integer addRecord(Record record);

    //查询借阅记录
    PageResult searchRecords(Record record, User user, Integer pageNum, Integer pageSize);

    //借阅排行
    public PageResult recordNum(Integer pageNum, Integer pageSize);

}
